package way.learning.yiyi.communicate;

public class Exercise {
    public static void main(String args[]) {
        ThreadStop t = new ThreadStop();
        new Thread(new A(t)).start();
        new Thread(new B(t)).start();
    }
}